home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- BackColor = &H00FFFFFF&
- Caption = "(c) V.Pozharov 1994"
- ClientHeight = 4020
- ClientLeft = 1050
- ClientTop = 1695
- ClientWidth = 7365
- DrawStyle = 5 'Transparent
- ForeColor = &H00000000&
- Height = 4425
- Left = 990
- LinkTopic = "Form1"
- ScaleHeight = 268
- ScaleMode = 3 'Pixel
- ScaleWidth = 491
- Top = 1350
- Width = 7485
- Begin PictureBox Picture1
- BackColor = &H00C0C0C0&
- BorderStyle = 0 'None
- Height = 585
- Index = 1
- Left = 6255
- Picture = VPFADE.FRX:0000
- ScaleHeight = 585
- ScaleWidth = 945
- TabIndex = 0
- Top = 2625
- Width = 945
- End
- Begin Image Image1
- Height = 585
- Index = 1
- Left = 6255
- Picture = VPFADE.FRX:055A
- Top = 2625
- Visible = 0 'False
- Width = 945
- End
- Option Explicit
- Sub Form_Click ()
- Dim I%, J%, K%
- I% = Int(16 * Rnd)
- InitialColor = QBColor(I%)
- Do
- J% = Int(16 * Rnd)
- Loop Until J% <> I%
- FinalColor = QBColor(J%)
- Call CalcSetka
- Call DrawForm(Me)
- End Sub
- Sub Form_Load ()
- Call CalcSetka
- Form_Paint
- End Sub
- Sub Form_Paint ()
- Call DrawForm(Me)
- End Sub
- Sub Form_Resize ()
- 'Call Form_Paint
- Picture1(1).Top = Form1.ScaleHeight - 50
- Picture1(1).Left = Form1.ScaleWidth - 70
- End Sub
- Sub Picture1_MouseDown (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
- Picture1(Index).Picture = Image1(Index).Picture
- End Sub
- Sub Picture1_MouseUp (Index As Integer, Button As Integer, Shift As Integer, X As Single, Y As Single)
- End
- End Sub
-